package com.xiangyang.pos.utils;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by Administrator on 2017/9/12 0012.
 */

public class ToastUtils {


    public static Toast mToast;

    public static void showToast(Context mContext, String msg) {
        if (mToast == null) {
            mToast = Toast.makeText(mContext, msg, Toast.LENGTH_SHORT);
            mToast.show();
        }
//        mToast.setText(msg);

    }


}
